﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MediaGarden.Formats;

namespace MediaGarden.Documents.Formats
{
    public class OpenXPSFormat : MimeMediaFormat
    {
        public override string FormatName
        {
            get { return "OpenXPS"; }
        }

        public override string FormatDisplayName
        {
            get { return "Open XML Paper Specification (XPS)"; }
        }

        public override string MediaStereotype
        {
            get { return "Document"; }
        }

        public override IEnumerable<string> FileExtensions()
        {
            return new[] { "xps","oxps" };
        }

        public override IEnumerable<string> MimeTypes()
        {
            return new[] { "application/vnd.ms-xpsdocument", "application/oxps" };
        }
    }
}